﻿using UnityEngine;
using System.Collections;

public class Enemy : MonoBehaviour
{

    // Use this for initialization
    void Awake()
    {

    }

    public void BeAttacked(HumanCtrl player)
    {
        SoundMgr.Instance.AddSceneSoundEffect("Sounds/r_monster_break", transform.position);
        Destroy(gameObject);
    }
}
